<!DOCTYPE html>
<html lang="zh"
	  xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
	  xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
	<meta charset="utf-8">
	<title>编辑照片参数</title>
	<link rel="stylesheet" th:href="@{/layui/css/layui.css}" href="../../static/layui/css/layui.css" media="all" />
	<link rel="stylesheet" th:href="@{/css/public.css}" href="../../static/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
	<input type="hidden" id ="xxId" />
	<input type="hidden" id ="paramId">
	<!--/*@thymesVar id="xxId" type="com"*/-->
	<div class="layui-form-item layui-row layui-col-xs12" id="xxDiv">
		<label class="layui-form-label">学校名称</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input xxmc" disabled="disabled">
		</div>
	</div>
	<div class="magb15 layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">照片规格</label>
		<div class="layui-input-block" >
			<select name="spid" class="spidList" lay-filter="spidList"  lay-verify="required" >
				<option value="">请选择照片规格</option>
				<!--/*@thymesVar id="spidList" type="java.util.map<java.lang.String,java.lang.String>"*/-->
				<!--/*@thymesVar id="photoParam" type="com.example.demo.param.entity.Param"*/-->
				<option th:each="spid:${spidList}" th:selected="${spid.key == photoParam.pzz}"
						th:value="${spid.key}" th:text="${spid.value}" ></option>
			</select>
		</div>
	</div>
	<div class="magb15 layui-col-md4 layui-col-xs12">
		<label class="layui-form-label">照片背景</label>
		<div class="layui-input-block" >
			<select name="bkColor" class="bkColorList" lay-filter="bkColorList" lay-verify="required" >
				<option value="">请选择照片背景</option>
				<!--/*@thymesVar id="bkColorList" type="java.util.map<java.lang.String,java.lang.String>"*/-->
				<!--/*@thymesVar id="photoParam" type="com.example.demo.param.entity.Param"*/-->
				<option th:each="bkColor:${bkColorList}" th:selected="${bkColor.key == photoParam.pzz2}"
						th:value="${bkColor.key}" th:text="${bkColor.value}"></option>
			</select>
		</div>
	</div>

	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addPhotoParam">确认</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
		</div>
	</div>
</form>
<script type="text/javascript" th:src="@{/layui/layui.js}" src="../../static/layui/layui.js"></script>
<script type="text/javascript" th:src="@{/js/paramPhotoAdd.js}" src="../../static/js/paramPhotoAdd.js"></script>
</body>
</html>